package com.hdax.dmw.user.service;

import com.hdax.dmw.dtos.user.LoginDto;
import com.hdax.dmw.entity.user.DmUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dmw.utils.Result;

/**
* @author guoyisha
* @description 针对表【dm_user(用户表)】的数据库操作Service
* @createDate 2023-06-15 12:19:00
*/
public interface DmUserService extends IService<DmUser> {
    //账号密码登录
    Result<LoginDto> login(String phone, String password);

    Result<LoginDto> refreshToken(String md5);
}
